<?php

class InsuranceAttendService extends BaseService
{

    private $insuranceAttend;

    function __construct()
    {
        $this->insuranceAttendObjectDao = new InsuranceAttendDao();
    }

    /**
     * @param InsuranceAttendDao $insuranceAttend
     */
    public function setInsuranceAttendDao(InsuranceAttendDao $insuranceAttend)
    {
        $this->insuranceAttendObjectDao = $insuranceAttend;
    }

    /**
     * @return InsuranceAttendDao
     */
    public function getInsuranceAttendDao()
    {
        return $this->insuranceAttendObjectDao;
    }

    public function getInsuranceAttendById($insuranceAttendId)
    {
        return $this->getInsuranceAttendDao()->getInsuranceAttendById($insuranceAttendId);
    }

    public function getInsuranceAttendList()
    {
        return $this->getInsuranceAttendDao()->getInsuranceAttendList();
    }

    public function saveInsuranceAttend(InsuranceAttend $insuranceAttend)
    {
        return $this->getInsuranceAttendDao()->saveInsuranceAttend($insuranceAttend);
    }

    public function searchInsuranceAttend($searchParams)
    {
        return $this->getInsuranceAttendDao()->searchInsuranceAttend($searchParams);
    }

    public function searchInsuranceAttendCount($searchParams)
    {
        return $this->getInsuranceAttendDao()->searchInsuranceAttendCount($searchParams);
    }

}